import { gstyRequest } from '../'
//查询精度评定结果
export async function getEvaResult(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/cc/evaResult',
    showLoading: true,
    params
  })
}
//查询场次计算结果
export async function getCcResult(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/cc/result',
    showLoading: true,
    params
  })
}
//考核方案场次列表
export async function getCalcSchemeccList(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/cc/list',
    showLoading: true,
    params
  })
}
//删除考核方案
export async function deleteCalcScheme(data) {
  return gstyRequest.post({
    url: '/model/check/calcScheme/delete',
    showLoading: true,
    data
  })
}
//删除场次
export async function deleteCalcSchemeCc(data) {
  return gstyRequest.post({
    url: '/model/check/calcScheme/cc/delete',
    showLoading: true,
    data
  })
}
//查询计算方案考核列表
export async function getCalcSchemeList(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/list',
    showLoading: true,
    params
  })
}
//添加考核方案
export async function addCalcScheme(data) {
  return gstyRequest.post({
    url: '/model/check/calcScheme/add',
    showLoading: true,
    data
  })
}
//修改考核方案
export async function modifyCalcScheme(data) {
  return gstyRequest.post({
    url: '/model/check/calcScheme/modify',
    showLoading: true,
    data
  })
}
//添加考核方案场次
export async function addCalcSchemeCc(data) {
  return gstyRequest.post({
    url: '/model/check/calcScheme/cc/add',
    showLoading: true,
    data
  })
}
//查询时效评定结果
export async function getDurResult(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/cc/durResult',
    showLoading: true,
    params
  })
}
//模型稳定性考核chat
export async function getmodelStabilityChart(params) {
  return gstyRequest.get({
    url: '/model/check/modelStabilityChart',
    showLoading: true,
    params
  })
}
//模型稳定性考核分页列表
export async function getModelStabilityList(params) {
  return gstyRequest.get({
    url: '/model/check/modelStabilityList',
    showLoading: true,
    params
  })
}
//模型评分
export async function getModelScoring(params) {
  return gstyRequest.get({
    url: '/model/check/modelScoring',
    showLoading: true,
    params
  })
}
//模型能效分析
export async function modelEnergyEfficiencyList(params) {
  return gstyRequest.get({
    url: '/model/check/modelEnergyEfficiencyList',
    showLoading: true,
    params
  })
}
//参与断面方案调度时序图
export async function modelForecastSectionStatistics(params) {
  return gstyRequest.get({
    url: '/model/check/modelForecastSectionStatistics',
    showLoading: true,
    params
  })
}
// 模型考核场次计算
export async function modelCalculate(data) {
  return gstyRequest.post({
    url: '/model/check/calcScheme/cc/calculate',
    showLoading: false,
    data
  })
}
/**
 * 模型稳定性考核内容
GET /model/check/modelStability
 */
export async function modelStability(params) {
  return gstyRequest.get({
    url: '/model/check/modelStability',
    showLoading: false,
    params
  })
}
/**
 * 模型计算效率考核内容
 */
export async function modelEfficiency(params) {
  return gstyRequest.get({
    url: '/model/check/modelEfficiency',
    showLoading: false,
    params
  })
}
/**
 * 模型计算评分内容
 */
export async function modelRatingScore(params) {
  return gstyRequest.get({
    url: '/model/check/modelRatingScore',
    showLoading: false,
    params
  })
}
/**
 *
 * 查询考核的计算方案列表
 *
 */
export async function getExamSchemeList(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/getCalcSchemeList',
    showLoading: true,
    params
  })
}
/**
 *
 * 查询考核计算方案的场次列表
 *
 */
export async function getExamSchemeCcList(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/getCalcSchemeCcList',
    showLoading: true,
    params
  })
}
// 查询考核计算方案的场次特征值
export async function getExamSchemeEigList(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/getCalcSchemeEigList',
    showLoading: true,
    params
  })
}
// 计算场次方案评定
export async function calcSchemeQuality(data) {
  return gstyRequest.post({
    url: '/model/check/calcScheme/calcSchemeQuality',
    showLoading: true,
    data
  })
}
// 获取方案综合评定信息
export async function getCalcSchemeQual(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/getCalcSchemeQual',
    showLoading: true,
    params
  })
}
// 获取模型综合评定信息
export async function getCalcModelQual(params) {
  return gstyRequest.get({
    url: '/model/check/calcScheme/getCalcModelQual',
    showLoading: true,
    params
  })
}
